package com.ibiaoke.system.mapper;

import com.ibiaoke.system.entity.AreaDistrict;
import com.ibiaoke.system.entity.AreaDistrictExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AreaDistrictMapper {
    long countByExample(AreaDistrictExample example);

    int deleteByExample(AreaDistrictExample example);

    int deleteByPrimaryKey(Integer districtId);

    int insert(AreaDistrict record);

    int insertSelective(AreaDistrict record);

    List<AreaDistrict> selectByExample(AreaDistrictExample example);

    AreaDistrict selectByPrimaryKey(Integer districtId);

    int updateByExampleSelective(@Param("record") AreaDistrict record, @Param("example") AreaDistrictExample example);

    int updateByExample(@Param("record") AreaDistrict record, @Param("example") AreaDistrictExample example);

    int updateByPrimaryKeySelective(AreaDistrict record);

    int updateByPrimaryKey(AreaDistrict record);
}